<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script src="js/echarts.min.js"></script>
    <div id="main" style="width: 600px; height: 400px"></div>
    <script type="text/javascript">
      document.write("test");
      var myChart = echarts.init(document.getElementById("main"));
      option = {
        title: {
          text: "基础替身图",
        },
        tooltip: {},
        legend: {
          data: ["白金之星", "实际开销（Actual Spending）"],
        },
        radar: {
          // shape: 'circle',
          name: {
            textStyle: {
              color: "#fffd",
              backgroundColor: "#199",
              borderRadius: 3,
              padding: [3, 5],
            },
          },
          indicator: [
            { name: "破坏力", max: 6 },
            { name: "成长性", max: 6 },
            { name: "精密度", max: 6 },
            { name: "持续力", max: 6 },
            { name: "射程", max: 6 },
            { name: "速度", max: 6 },
          ],
        },
        series: [
          {
            name: "",
            type: "radar",
            // areaStyle: {normal: {}},
            data: [
              {
                value: [5, 5, 5, 5, 3, 5],
                name: "白金之星",
              },
            ],
          },
        ],
      };
      myChart.setOption(option);
    </script>
  </body>
</html>
